Namespace - LJCDBClientLib
Parameters
dataObject - The record object.
keyColumns - The record containing the key field values.
propertyNames - The incuded column property names.
filters - The filter values.
Syntax
C# |
public Void Update(TData dataObject, DbColumns keyColumns, List<String> propertyNames = null, DbFilters filters = null)
|
Updates the record.
(E)
Example
C# |
private static void Update(ObjectManager<Person, Persons> personManager)
{
List<string> columnNames = new List<string>() { "Name" };
Person dataObject = new Person()
{
Name = "TestNameUpdated"
};
var keyColumns = new DbColumns()
{
Name = "TestName"
};
personManager.Update(dataObject, keyColumns, columnNames);
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.